package com.artist.service;

import com.artist.entity.TbUser;


import java.util.List;

public interface UserService {
    //查询所有用户
    List<TbUser> selectAll();

    //根据用户Id查询
    TbUser selectUserPrimaryKey(Integer uid);

    //增加用户
    void savaUser(TbUser tbUser);

    //根据用户ID删除用户
    int deleteUserPrimaryKey(Integer uid);

    //根据ID 更新用户
    void updateUserPrimaryKeySelective(TbUser tbUser);

}
